package com.example.demo.service.impl;

import com.example.demo.domain.Role;
import com.example.demo.domain.User;
import com.example.demo.domain.Vo.StudentInforVo;
import com.example.demo.domain.Vo.UserListVo;
import com.example.demo.mapper.RoleMapper;
import com.example.demo.mapper.UserMapper;
import com.example.demo.service.IRoleService;
import com.example.demo.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 服务层
 */
@Service
public class RoleServiceImpl implements IRoleService {


    @Autowired
    private RoleMapper roleMapper;

    /**
     * 增加角色
     * @param role
     */
    @Override
    public void addRole(Role role) {
        roleMapper.addRole(role);
    }
}
